package com.echo.code.spring.springbootdemo.spel;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Description
 *
 * @author baiyp
 * @version 1.0.0
 * @date 2019/05/03
 */
@ConfigurationProperties(prefix = "web")
@Setter
@Getter
@ToString
public class AutoConfig {

  private String ip;
  private int port;
}
